package com.declum.peyar.test;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

import com.declum.peyar.db.test.PeyarDBTest;
import com.declum.peyar.db.test.RecordTest;
import com.declum.peyar.handler.test.PeyarHandlerTest;
import com.declum.peyar.handler.test.RequestHeaderTest;
import com.declum.peyar.handler.test.RequestParserExceptionTest;
import com.declum.peyar.handler.test.ResponseHeaderTest;

public class PeyarTestSuite extends TestCase {
	public static Test suite() {
		TestSuite testSuite = new TestSuite(PeyarTestSuite.class.getName());

		// com.declum.peyar.db.test
		testSuite.addTest(PeyarDBTest.suite());
		testSuite.addTest(RecordTest.suite());

		// com.declum.peyar.handler.test
		testSuite.addTest(PeyarHandlerTest.suite());
		testSuite.addTest(RequestHeaderTest.suite());
		testSuite.addTest(RequestParserExceptionTest.suite());
		testSuite.addTest(ResponseHeaderTest.suite());

		// com.declum.peyar.db.test
		testSuite.addTest(PeyarServerTest.suite());

		return testSuite;
	}
}
